package com.tvpush.manage.core.entity;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author ouyangzn
 * @since 2019-03-22
 */
@Data
@Accessors(chain = true)
@TableName("tp_brand")
public class Brand extends Model<Brand> {

    private static final long serialVersionUID = 1L;

    /**
     * 标识
     */
    private Integer id;
    /**
     * 品牌名称
     */
    @TableField("brand_name")
    private String brandName;
    /**
     * 盟友key
     */
    @TableField("ally_id")
    private String allyId;
    /**
     * 开机图片
     */
    @TableField("start_up_pic")
    private String startUpPic;
    /**
     * 开机视屏
     */
    @TableField("start_up_video")
    private String startUpVideo;
    /**
     * 品牌图片
     */
    @TableField("logo_pic")
    private String logoPic;
    /**
     * 背景图片
     */
    @TableField("bg_pic")
    private String bgPic;
    /**
     * 品牌描述
     */
    private String desc;
    /**
     * 设备信息
     */
    @TableField("facility_info")
    private String facilityInfo;
    /**
     * 联系信息
     */
    @TableField("contact_info")
    private String contactInfo;
    /**
     * 创建时间
     */
    @TableField("create_time")
    private Date createTime;
    /**
     * 更新时间
     */
    @TableField("update_time")
    private Date updateTime;


    public static final String ID = "id";

    public static final String BRAND_NAME = "brand_name";

    public static final String ALLY_ID = "ally_id";

    public static final String START_UP_PIC = "start_up_pic";

    public static final String START_UP_VIDEO = "start_up_video";

    public static final String LOGO_PIC = "logo_pic";

    public static final String BG_PIC = "bg_pic";

    public static final String DESC = "desc";

    public static final String FACILITY_INFO = "facility_info";

    public static final String CONTACT_INFO = "contact_info";

    public static final String CREATE_TIME = "create_time";

    public static final String UPDATE_TIME = "update_time";

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
